package com.yida.gwj.api.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author lqq
 * @date 2023-03-10
 */
@ApiModel("公维金投票项目统计所有数据输出")
public class GwjGVoteProjectStatisticsDataDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("专有部分总面积")
	private BigDecimal totalSize;

	@ApiModelProperty("业主总人数")
	private Integer totalOwner;

	@ApiModelProperty("参与表决业主人数")
	private Integer totalValidOwner;

	@ApiModelProperty("表决业主占比")
	private BigDecimal ownerPercent;

	@ApiModelProperty("表决业主建筑总面积")
	private BigDecimal totalValidSize;

	@ApiModelProperty("表决业主面积占比")
	private BigDecimal sizePercent;

	@ApiModelProperty("同意业主人数")
	private Integer agreeOwner;

	@ApiModelProperty("同意面积占比")
	private BigDecimal agreeSizePercent;

	@ApiModelProperty("同意人数占比")
	private BigDecimal agreeOwnerPercent;

	@ApiModelProperty("同意业主建筑总面积")
	private BigDecimal agreeTotalSize;

	public BigDecimal getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(BigDecimal totalSize) {
		this.totalSize = totalSize;
	}

	public Integer getTotalOwner() {
		return totalOwner;
	}

	public void setTotalOwner(Integer totalOwner) {
		this.totalOwner = totalOwner;
	}

	public Integer getTotalValidOwner() {
		return totalValidOwner;
	}

	public void setTotalValidOwner(Integer totalValidOwner) {
		this.totalValidOwner = totalValidOwner;
	}

	public BigDecimal getOwnerPercent() {
		return ownerPercent;
	}

	public void setOwnerPercent(BigDecimal ownerPercent) {
		this.ownerPercent = ownerPercent;
	}

	public BigDecimal getTotalValidSize() {
		return totalValidSize;
	}

	public void setTotalValidSize(BigDecimal totalValidSize) {
		this.totalValidSize = totalValidSize;
	}

	public BigDecimal getSizePercent() {
		return sizePercent;
	}

	public void setSizePercent(BigDecimal sizePercent) {
		this.sizePercent = sizePercent;
	}

	public Integer getAgreeOwner() {
		return agreeOwner;
	}

	public void setAgreeOwner(Integer agreeOwner) {
		this.agreeOwner = agreeOwner;
	}

	public BigDecimal getAgreeSizePercent() {
		return agreeSizePercent;
	}

	public void setAgreeSizePercent(BigDecimal agreeSizePercent) {
		this.agreeSizePercent = agreeSizePercent;
	}

	public BigDecimal getAgreeOwnerPercent() {
		return agreeOwnerPercent;
	}

	public void setAgreeOwnerPercent(BigDecimal agreeOwnerPercent) {
		this.agreeOwnerPercent = agreeOwnerPercent;
	}

	public BigDecimal getAgreeTotalSize() {
		return agreeTotalSize;
	}

	public void setAgreeTotalSize(BigDecimal agreeTotalSize) {
		this.agreeTotalSize = agreeTotalSize;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjGVoteProjectStatisticsDataDTO{");
		sb.append("totalSize=").append(totalSize);
		sb.append(", totalOwner=").append(totalOwner);
		sb.append(", totalValidOwner=").append(totalValidOwner);
		sb.append(", ownerPercent=").append(ownerPercent);
		sb.append(", totalValidSize=").append(totalValidSize);
		sb.append(", sizePercent=").append(sizePercent);
		sb.append(", agreeOwner=").append(agreeOwner);
		sb.append(", agreeSizePercent=").append(agreeSizePercent);
		sb.append(", agreeOwnerPercent=").append(agreeOwnerPercent);
		sb.append(", agreeTotalSize=").append(agreeTotalSize);
		sb.append('}');
		return sb.toString();
	}
}
